package com.jdk8.parameter_04;

import java.util.ArrayList;
import java.util.List;

public class AppleQuery {

    public List<Apple> applesData() {
        ArrayList<Apple> apples = new ArrayList<>();
        apples.add(new Apple("red",121.00,"light","AA"));
        apples.add(new Apple("green",135.00,"light","BB"));
        apples.add(new Apple("red",186.00,"heavy","CC"));
        apples.add(new Apple("green",142.01,"light","DD"));
        apples.add(new Apple("red",174.40,"heavy","EE"));
        return apples;
    }
}
